<extend name="Layout/dialog" />
<block name="css"></block>
<block name="style"></block>
<block name="js"></block>
<block name="script"></block>
<block name="model">合同管理</block>
<block name="controller">合同管理</block>
<block name="action">新增合同信息</block>
<block name="desc"></block>
<block name="content">
<div class="box box-success">
	<div class="box-header with-border">
		<h3 class="box-title">新增合同信息</h3>
	</div>
	<form class="form-horizontal" action="{:U('save')}" method="post" rel-action="form" rel-success="reload()">
		<div class="box-body">
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>合同编号</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="number" placeholder="请输入合同编号"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label"><span class="text-red">*</span>微信支付单号</label>
				<div class="col-sm-10">
					<input type="text" class="form-control" name="transaction_id" placeholder="请输入微信支付单号"  autocomplete="off">
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">姓名</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="name" placeholder="请输入姓名"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">身份证号</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="cardid" placeholder="请输入身份证号"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">支付金额</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="amount" placeholder="请输入支付金额"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">支付时间</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="time" placeholder="请输入支付时间"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">贷款类型</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="loan_type" placeholder="请输入贷款类型"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">商品类型</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="commodity_type" placeholder="请输入商品类型"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">品牌</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="brand" placeholder="请输入品牌"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">总金额</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="total_money" placeholder="请输入总金额"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">首付金额</label>
				<div class="col-sm-10">
					<textarea class="form-control" rows="5" name="down_pay" placeholder="请输入首付金额"></textarea>
				</div>
			</div>
			<div class="form-group">
				<label class="col-sm-2 control-label">支付状态</label>
				<div class="col-sm-10 radio">
					<label><input type="radio" name="status" value="1" checked="checked">支付成功</label>
					<label><input type="radio" name="status" value="2">支付失败</label>
					<label><input type="radio" name="status" value="0">未支付</label>
				</div>
			</div>
		</div>
		<div class="box-footer">
			<div class="col-sm-offset-2 col-sm-10">
				<button type="submit" class="btn btn-default">保存</button>
				<button type="button" class="btn btn-default" rel-action="dialog-close">关闭</button>
			</div>
		</div>
	</form>
</div>
</block>